package com.xxx.car.mapper;

import com.xxx.car.entity.TbRedpacketRecord;
import com.xxx.car.entity.TbRedpacketRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbRedpacketRecordMapper {
    int countByExample(TbRedpacketRecordExample example);

    int deleteByExample(TbRedpacketRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbRedpacketRecord record);

    int insertSelective(TbRedpacketRecord record);

    List<TbRedpacketRecord> selectByExample(TbRedpacketRecordExample example);

    TbRedpacketRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbRedpacketRecord record, @Param("example") TbRedpacketRecordExample example);

    int updateByExample(@Param("record") TbRedpacketRecord record, @Param("example") TbRedpacketRecordExample example);

    int updateByPrimaryKeySelective(TbRedpacketRecord record);

    int updateByPrimaryKey(TbRedpacketRecord record);
}